TextlessActionWidget
A button widget that is 20x20 pixels and displays a sprite instead of a textual message
Author
fzzyhmstrs
Since
0.2.0, added optional bg rendering 0.6.0
Parameters
Identifier - sprite id for active-but-not-hovered state
Identifier - sprite id for inactive/disabled state, controlled via activeSupplier
Identifier - sprite id for the active-and-hovered state
Text - the tooltip and narration for active states
Text - narration and tooltip to display if the button is inactive
Supplier
Consumer
Default false. If true, will render a standard MC button background behind your icon.
Inheritors
Constructors
Functions
Provides a list of text for appending into a Narration Hint. By default this will use the same lines passed from provideTooltipLines, with predefined values for the inputs